package com.huanletao.spring.util;

import org.apache.commons.beanutils.PropertyUtils;
import org.springframework.core.env.*;
import org.springframework.core.io.DefaultResourceLoader;
import org.springframework.core.io.Resource;
import org.springframework.core.io.ResourceLoader;
import org.springframework.core.io.support.PropertiesLoaderUtils;
import org.springframework.util.ResourceUtils;

/**
 * <p>
 *
 * </p>
 *
 * @package: com.huanletao.spring.util
 * @Description:
 * @className: DefaultResourceLoaderTest
 * @author: @NNCSKJ ADMIN
 * @copyright: Copyright (c) 2022/8/10 17:07
 * @version: V1.0
 */
public class DefaultResourceLoaderTest {

    public static void main(String[] args) {

        ResourceLoader resourceLoader = new DefaultResourceLoader();

        Resource resource = resourceLoader.getResource("configuration/config.properties");

        MutablePropertySources sources = new MutablePropertySources();

    }
}
